package com.lh.service;

import cn.hutool.json.JSONObject;
import com.lh.entity.table.DepartmentInfo;
import com.lh.utils.Answer;

public interface DepartmentService {

    Answer<Object> addDepartmentInfo(DepartmentInfo departmentInfo);

    Answer<Object> updateDepartmentInfo(DepartmentInfo departmentInfo);

    Answer<Object> deleteDepartmentInfo(DepartmentInfo departmentInfo);

    Answer<Object> getDepartmentInfoList(DepartmentInfo departmentInfo);

    Answer<Object> getAllDepartment();

    Answer<Object> getDepartmentInfoPage(JSONObject reqJson);

    Answer<Object> getDepartmentChildInfo(DepartmentInfo departmentInfo);
}
